<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ include file="/WEB-INF/view/inc.jsp" %>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
<div class="dialog_form">
    <form id="fm" method="post" action="<%=contextPath%>/sys/codeCategory/saveAndUpdate" novalidate>
        <input type="hidden" name="id" value="${codeCategory.id}" />
        <div class="dialog_item">
            <label>类别名称:</label>
            <input id="categoryName" name="categoryName" class="no-space easyui-textbox" required="true" validType = "length[1,50]" value="${codeCategory.categoryName}">
        </div>
        <div class="dialog_item">
            <label>类别代码:</label>
            <input id="categoryCode"  name="categoryCode" class="no-space easyui-textbox" required="true" validType = "length[1,20]" value="${codeCategory.categoryCode}">
        </div>
        <div class="dialog_item">
            <label>状态:</label>
            <input  name="status" editable="false"  value="${codeCategory.status}" required="true"
                    class="easyui-combobox"  data-options="valueField : 'code',
	    						textField : 'name', url:'<%=contextPath%>/sys/codeItems/byCategoryCode?categoryCode=status',
								panelHeight:'auto'
							">
        </div>
        <div class="dialog_item">
            <label>备注:</label>
            <input name="remark" class="easyui-textbox" data-options="multiline:true" validType = "length[0,200]" value="${codeCategory.remark}" style="height:80px">
        </div>

    </form>
</div>
</body>
</html>